import styled from 'styled-components'
import { ThemeColor } from '../../common/globalStyle' 

export const Container = styled.div`
  background: #eee;
  display: block;
  -webkit-box-shadow: 0 17px 10px -8px #ccc inset;
  -moz-box-shadow: 0 17px 10px -8px #ccc inset;
  box-shadow: 0 17px 10px -8px #ccc inset;
  padding: 30px 0px;
  box-sizing: border-box;
  overflow: hidden;
`

export const LiveWrapper = styled.div`
  width: 1200px;
  margin: 0 auto;
`
export const LiveType = styled.div`
  width: 100%;
  background: #fff;
  padding: 0px 20px;
  ul {
    border-bottom: 1px solid #ccc;
    height: 40px;
    li {
      float: left;
      line-height: 40px;
      font-size: 16px;
      padding: 0px 12px;
      a {
        color: #333;
      }
      &.active a {
        color: ${ThemeColor};
      }
    }
  }
`

export const LiveCourse = styled.div`
  width: 100%;
  background: #fff;
  padding: 0px 20px;
  margin-top: 30px;
  margin-bottom: 30px;
`
export const LiveTitle = styled.div`
  border-bottom: 1px solid #ccc;
  height: 40px;
  padding-left: 12px;
  line-height: 40px;
  a {
    color: ${ThemeColor};
  }
`

export const LiveDate = styled.ul`
  border-bottom: 1px solid #8BCA31;
  overflow: hidden;
  .arrow {
    width: 50px;
    height: 80px;
    display: inline-block;
    float: left;
    line-height: 80px;
    text-align: center;
    font-size: 22px;
  }
  li {
    width: 150px;
    float: left;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
    a {
      font-size: 16px;
      line-height: 30px;
      box-sizing: border-box;
      color: #333;
      display: inline-block;
      padding: 0px 10px;
      position: relative;
      &.active {
        color: ${ThemeColor};
      }
    }
  }
`

export const TipWrapper = styled.div`
  width: 1160px;
  margin: 0 auto;
  ul {
    padding-bottom: 20px;
    li {
      border-bottom: 1px solid #ededed;
      border-right: 1px solid #ededed;
      padding-bottom: 10px;
      height: 365px;
      &:hover {
        box-shadow: 0 0 15px 0 rgba(0,0,0,.1);
        transition: box-shadow .3s ease-out;
        position: relative;
      }
      .watch {
        color: #fff;
        background-color: #8BCA34;
        border-color: #8BCA34;
        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
        -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
        box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
        padding: 6px 8px;
        border-radius: 2px;
        float: right;
        font-size: 16px;
        margin-top: 4px;
        margin-right: 5px;
        &:hover {
          color: #fff;
          background-color: #a7d65a;
          border-color: #a7d65a;
        }
      }
    }
  }
`